package com.ctgu.mapper;

import com.ctgu.vo.Course;
import com.ctgu.vo.Homework;

import java.util.List;

public interface HomeworkMapper {
    List<Homework> selectHomeworkByTeacherId(Integer teacherId);

    int deleteByPrimaryKey(Integer homeworkId);

    int insert(Homework record);

    int insertSelective(Homework record);

    Homework selectByPrimaryKey(Integer homeworkId);

    int updateByPrimaryKeySelective(Homework record);

    int updateByPrimaryKey(Homework record);

    List<Homework> selectCourseHomeworkTeacherByStudentId(Integer studentId);
}